<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* div {
            width: 100px;
            height: 100px;
            background-color: red;
            border: 15px solid blue;
            margin: 30px 25px;
            padding: 20px 10px;
            text-align: center;

        } */
        .container {
            width: 250px;
            height: 250px;
            background-color: #ff0000;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
        }

        .box1 {
            width: 50px;
            height: 50px;
            background-color: #00ff00;
            flex: 2;

        }

        .box2 {
            width: 50px;
            height: 50px;
            background-color: #0000ff;
            flex: 1;
        }

        .box3 {
            width: 50px;
            height: 50px;
            background-color: #ffff00;
            flex: 2;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="box1"></div>
        <div class="box2"></div>
        <div class="box3"></div>
    </div>
</body>

</html>